package cn.itsource.pethome.dept.query;


import cn.itsource.pethome.system.dept.domain.Department;

public class DeoartmentQuery extends Department {
    /*当前页*/
    private Integer currentPage = 1;

    /*每页条数*/
    private  Integer pageSize = 5;

    /*计算分页的起始行数*/
    public Integer getBegin(){
        return (currentPage - 1)*pageSize;
    }
}
